// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

using System;
using Microsoft.AspNetCore.Builder;

namespace Microsoft.AspNetCore.Hosting
{
    internal class GenericWebHostServiceOptions
    {
        public Action<IApplicationBuilder>? ConfigureApplication { get; set; }

        public WebHostOptions WebHostOptions { get; set; } = default!; // Always set when options resolved by DI

        public AggregateException? HostingStartupExceptions { get; set; }
    }
}
